class prog{
         public static void main(String args[])
         {
          // fibonacci numbers
  
           int num=6;
           int n1,n2=0,n3=1;
           int i;
           for(i=1;i<=num;i++)
           {
           System.out.println( " +n3+ ");
           n1 = n2;
           n2 = n3; 
           n3 = n1 + n2;
           }
}
         